<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改员工信息</title>
    <link rel="stylesheet" th:href="@{/static/css/index_work.css}">
</head>
<body>

<form th:action="@{/employee}" method="post">
    <input type="hidden" name="_method" value="put">
    <input type="hidden" name="empId" th:value="${employee.empId}">
    <table>
        <tr>
            <th colspan="2">修改员工信息</th>
        </tr>
        <tr>
            <td>员工姓名</td>
            <td><input th:type="text" name="empName" th:value="${employee.empName}"></td>
        </tr>
        <tr>
            <td>员工年龄</td>
            <td><input th:type="text" name="age" th:value="${employee.age}"></td>
        </tr>
        <tr>
            <td>员工性别</td>
            <td><input th:type="text" name="gender" th:value="${employee.gender}"></td>
        </tr>
        <tr>
            <td>员工邮箱</td>
            <td><input th:type="text" name="email" th:value="${employee.email}"></td>
        </tr>
        <tr>
            <td colspan="2"><input th:type="submit" value="修改"></td>
        </tr>
    </table>
</form>

</body>
</html>